The code is divided into four main files (introduced here) and five
support files (introduced in the next section).
The file main.c
will contain the driver for the whole program
(see Section ).
@o main.c
@#include "global.h"
@
The first pass over the source file is contained in pass1.c
.
It handles collection of all the file names, macros names, and scraps
(see Section ).
@o pass1.c
@#include "global.h"
@
The .tex
file is created during a second pass over the source
file. The file latex.c
contains the code controlling the
construction of the .tex
file
(see Section ).
@o latex.c
@#include "global.h"
@
The code controlling the creation of the output files is in output.c
(see Section ).
@o output.c
@#include "global.h"
@